package org.jluzhCS.mylogin.action;

import java.util.List;

import org.jluzhCS.mylogin.domain.Book;

import com.opensymphony.xwork2.Action;

public class getBooksAction implements Action
{

	private List<Book> books;
	private Book book;

	public List<Book> getBooks()
	{
		return books;
	}

	public void setBooks(Book book)
	{
		this.books.add(book);
	}

	@Override
	public String execute() throws Exception
	{
		setBooks(book);
		
		return null;
	}

}
